package com.zgys.project_mgr.project.service.serviceImpl;

import com.zgys.project_mgr.project.dao.ProjectDao;
import com.zgys.project_mgr.project.model.po.ProjectPo;
import com.zgys.project_mgr.project.service.ProjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class ProjectServiceImpl implements ProjectService {
	@Autowired
	private ProjectDao projectDao;
	
	@Override
	public ProjectPo get(Integer id){
		return projectDao.get(id);
	}
	
	@Override
	public List<ProjectPo> list(Map<String, Object> map){
		return projectDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return projectDao.count(map);
	}
	
	@Override
	public int save(ProjectPo project){
		return projectDao.save(project);
	}
	
	@Override
	public int update(ProjectPo project){
		return projectDao.update(project);
	}
	
	@Override
	public int remove(Integer id){
		return projectDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return projectDao.batchRemove(ids);
	}
	
}
